﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 订单加料表
    /// </summary>
    public class corecmsfoodorderfeed
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 订单详情id 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "detailId", IsNullable = true)]
        public Int64? detailId { get; set; }

        /// <summary>
        /// 订单id 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "orderId", IsNullable = true)]
        public Int64 orderId { get; set; }

        /// <summary>
        /// 加料id 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "feedId", IsNullable = true)]
        public Int64? feedId { get; set; }

        /// <summary>
        /// 数量 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "quantity", IsNullable = true)]
        public decimal quantity { get; set; }

        /// <summary>
        /// 价格 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "price", IsNullable = true)]
        public Decimal? price { get; set; }
    }
}
